Alma\Woocommerce\Helpers\PaymentHelper A

Total Complexity 56
Dependencies 28
Dependents 7
Total lines 602
Lines of code 269
Logical lines of code 136
Comment lines 235
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
S
61 9 10
get_payment_method()
S
56 6 19
build_customer_details()
S
55 4 21
validate_payment_on_customer_return()
S
57 4 17
validate_payment_from_ipn()
S
58 4 16
build_payment_details()
S
50 3 29
get_payment_to_validate()
S
55 3 21
handle_ipn_callback()
S
56 3 19
validate_payment()
S
57 2 18
get_payment_payload_from_order()
S
58 2 16
manage_potential_fraud()
S
67 2 7
manage_mismatch()
S
66 2 8
update_order_post_meta_if_deferred_trigger()
S
74 2 5
add_product_data()
S
58 1 15
get_order_items_details()
S
67 2 8
create_payments()
S
72 1 5
get_description()
S
79 1 3
build_order_details()
S
69 1 7
build_data_for_alma()
S
65 1 9
handle_customer_return()
S
76 1 4
manage_payment_errors()
S
70 1 6
redirect_to_cart_with_error()
S
71 1 6